<include file="Admin/Public/Header" />
<script src="__ADMIN__/js/Admin/common.js" type="text/javascript"></script>
<table width="100%" height="31px" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">内容栏目管理</div></td>
      </tr>
    </table>

<div class="main">
    <form action="" method="post" id="form_do" name="form_do">
        <div class="operate">
            <div class="left">
            <input type="button" onclick="window.open('{:U('Admin/Content/AddCategory')}','main')" target="main" class="btn_blue" value="添加栏目">
            </div>
        </div>
        <div class="list">
            <table width="100%">
                <tr>
                    <!--<th><input  name="chkall" type="checkbox" id="chkall" onclick="selectall(this.form)"></th>-->
                    <th>编号</th>
                    <th width="40%">名称</th>
                    <th width="40%">标识</th>
                    <th>操作</th>
                </tr>

                <empty name="list">
                <tr>
                <td colspan="7">本区域暂无数据显示...</td>
                </tr>
                <else />
                <volist name='list' id='vo'>
                <tr>
                    <!--<td><input type="checkbox" name="class_id[]" value="{$vo.id}" ></td>-->
                    <td>{$vo.id}</td>

                    <td>
                        <span style="color:#000000">{$vo.name}</span>
                    </td>
                    <td>
                        <span style="color:#000000">{$vo.label}</span>
                    </td>
                    <td>
                    <!--<a href="{:U('Admin/Category/category',array('do'=>'add','gc_id'=>$vo['gc_id']))}">添加子分类</a>-->
                    <a href="{:U('Admin/Content/EditCategory', array('id'=>$vo['id']))}">修改</a>
                    <a href="{:U('Admin/Content/DelCategory', array('id'=>$vo['id']))}" class="delete-one">删除</a>
                    <!--<a href="{:U('Admin/Category/category', array('do'=>'check','id'=>$vo['gc_id'],'gift'=>'1'))}">查看子分类</a>-->
                    </td>
                </tr>

                </volist>
                </empty>
            </table>

        </div>
    </form>
</div>
<include file="Admin/Public/Copyright" />
<script type="text/javascript">
    $('.delete-one').click(function(){
        if( ! window.confirm('确定要删除此条目吗？') ){
            return false;
        }
    });
</script>
</body>
</html>
